package web.demo.dao;

import java.sql.Connection;
import java.util.List;

public interface IBaseDao {
	
	public int update(String sql,Object[] params);	
	public int update(Connection conn,String sql,Object... params);
	
	public <T> List<T> select(String sql,Class<T> clazz);
	
	public <T> List<T> select(String sql,List<Object> params,Class<T> clazz);
	
	public <T> List<T> query(String sql, Object[] params, Class<T> clazz);
}
